import { Alova } from '@/utils/http/alova/index';

//获取table
export function getLive(params: any) {
  return Alova.Post('/admin/live', params);
}

export function putLive(params: any) {
  return Alova.Put('/admin/live', params);
}

export function patchLive(params: any) {
  return Alova.Patch('/admin/live', params);
}

export function getLiveInfo(id: number) {
  return Alova.Get('/admin/live/' + id);
}

export function deleteLive(id: number) {
  return Alova.Delete('/admin/live/' + id);
}
